blob: 5de1534163be435fc89bb62ea539c3060e4909b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import { get } from "$lib/utils";
export async function load({ params }) {
let { id } = params;
let { token, status } = await get(`/cash/${id}`);
let { spent, total, mint, external } = status;
return { id, token, spent, total, mint, external };
}
|